package com.atguigu.day16.exer;

import org.junit.Test;

import java.util.Arrays;

public class TestStringMethord5 {
    @Test
    public void test01() {
            String str = "尚硅谷";
            byte[] bytes1 = str.getBytes();
            System.out.println(Arrays.toString(bytes1));
    }
}
